import request from '@/utils/Request';
import {stringify} from "qs";

export async function getCurrentUser() {
  return request(`/joker/users/getCurrentUser`, {
    method: 'GET'
  });
}

export async function saveMsg(params) {
  return request(`/joker/message/saveMsg?${stringify(params)}`, {
    method: 'GET'
  });
}

export async function clearAllMsg(params) {
  return request(`/joker/message/clearMsg?${stringify(params)}`, {
    method: 'GET'
  });
}



